import { defineStore } from "pinia";
import { ref } from "vue";

export const useVisibleStore = defineStore("visible", () => {
  const visible = ref(false);

  function openCartDialog() {
    visible.value = !visible.value;
  }
  return {
    visible,
    openCartDialog,
  };
});
